# Starred Record Plugin

## Overview
For anonymous webdrawer usage, allow the user to star selected records and then view al those they have starred.  Browser localStorage is used to store record URIs so the starring of records is device specific.

## Pre-requisites
*HPRM version*
HPRM 81 and above.


## Customisation
### Add this below the link to webdrawer.css in _Layout.cshtml
```
<link href="~/css/starred.css" type="text/css" rel="stylesheet" />
```

### Add this below the link to webdrawer.js in _Layout.cshtml
```
<script src="~/scripts/starred.js" type="text/javascript"></script>
```

### Add this below the help link in _Layout.cshtml
```
<li>
	<a href="#" id="menu_print_link">
		<span>Starred</span>
    </a>
</li>
```
### Edit link
I have been lazy and hardcoded the link to my WebDrawer instance in starred.js.  You might want to change /WebDrawer81 to /HPRMWebDrawer (or whatever is appropriate).